package com.atguigu.gmall.product.mapper;

import com.atguigu.gmall.model.product.BaseAttrValue;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: 🐱🐱🐱
 * @Date: 2025/8/17 21:19
 * @Description:
 **/
@Mapper
public interface BaseAttrValueMapper extends BaseMapper<BaseAttrValue> {

    @Delete("delete from base_attr_value where attr_id =#{attrId}")
    void deleteAttrValue(@Param("attrId") Long id);
}
